package br.ufc.smd;

import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

public class MyLocationListener implements LocationListener {
	
	private TesteLocalizacao testelocalizacao;

	public MyLocationListener(TesteLocalizacao testelocalizacao){
		this.testelocalizacao = testelocalizacao;
	}
	
	public void onLocationChanged(Location location) {
		testelocalizacao.updateLocation(location);
		
	}

	public void onProviderDisabled(String provider) {
		// TODO Auto-generated method stub
		
	}

	public void onProviderEnabled(String provider) {
		// TODO Auto-generated method stub
		
	}

	public void onStatusChanged(String provider, int status, Bundle extras) {
		// TODO Auto-generated method stub
		
	}

}
